export default {
	setToken(state, data) {
		state.token = data
	},
	setStatusBarHeight(state, data) {
		state.statusBarHeight = data
	},
	setUserInfo(state, data) {
		state.userInfo = data
	},
	logout(state) {
		state.userInfo = {}
	},
	setLogin(state, data) {
		state.account = data.mobile;
		state.password = data.password;
	},
}